/* 
 * File:   glmmiindexbuffer.h
 * Author: marcell
 *
 * Created on 28. Februar 2011, 13:33
 */

#ifndef GLMMIINDEXBUFFER_H
#define	GLMMIINDEXBUFFER_H

#include "glmmdatatype.h"
#include "glmmiresource.h"
#include "glmmlock.h"
#include "glmmresult.h"


struct glmmIIndexBuffer : virtual public glmmIResource
{
    
    virtual GLMMRESULT Lock (GLMMLOCK lock, void** data) = 0;
    
    virtual GLMMRESULT Unlock () = 0;
    
    virtual GLMMDATATYPE GetDataType () const = 0;
    
};


#endif	/* GLMMIINDEXBUFFER_H */

